/* 全局重置 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 登录页背景 */
.login {
  min-height: 100vh;
  background-image: url("../../public/123.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* 背景遮罩 */
.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* 登录卡片 */
.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  z-index: 2;
  overflow: hidden;
}

/* 登录卡片头部 */
.login-header {
  text-align: center;
  padding: 40px 20px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.login-subtitle {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 300;
}

/* 登录卡片内容 */
.login-content {
  padding: 30px 40px;
}

/* Tabs样式 */
.login-tabs {
  width: 100%;
}

.login-tabs .ant-tabs-nav {
  margin-bottom: 20px;
}

.login-tabs .ant-tabs-tab {
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  color: #666;
}

.login-tabs .ant-tabs-tab.ant-tabs-tab-active {
  color: #667eea;
}

.login-tabs .ant-tabs-ink-bar {
  background-color: #667eea;
  height: 3px;
}

/* 表单样式 */
.login-content .ant-form-item {
  margin-bottom: 24px;
}

.login-content .ant-input-affix-wrapper {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.login-content .ant-input-affix-wrapper:hover {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.login-content .ant-input-affix-wrapper:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* 验证码容器 */
.login-content .ant-form-item-control-input-content > div {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 按钮样式 */
.login-content .ant-btn {
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  height: auto;
  transition: all 0.3s ease;
  border: none;
}

.login-content .ant-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-content .ant-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.login-content .ant-btn-primary:active {
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 576px) {
  .login-card {
    margin: 20px;
  }
  
  .login-content {
    padding: 20px 24px;
  }
  
  .login-header {
    padding: 30px 20px 15px;
  }
  
  .login-title {
    font-size: 24px;
  }
}

/* 加载动画优化 */
.login-content .ant-btn-loading::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}